<form class="form-horizontal" role="form">
    <div class="form-group">
        <label for="firstname" class="col-sm-2 control-label">序列号</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" name="sn" placeholder="请输入设备序列号">
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-2 control-label">设备名</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" name="aliasName" placeholder="请输入设备名称">
        </div>
    </div>
    <div class="form-group hidden" id="room">
        <label for="lastname" class="col-sm-2 control-label">房间号</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" name="room" placeholder="请输入房间号">
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-2 control-label">设备类型</label>
        <div class="col-sm-10">
          <select class="form-control hidden" name="deviceType">
            <option value="">请选择设备类型</option>
            <option value="STB">机顶盒</option>
            <option value="SERVER">服务器</option>
          </select>
          <input class="form-control-static hidden" style="border: none; padding-left: 12px;" type="text" name="deviceType" value="" readonly>
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-2 control-label">分组</label>
        <div class="col-sm-10">
          <select class="form-control" name="groupId"></select>
        </div>
    </div>
</form>
